import http from '@/utils/http'

// 全部挑战
export function allChallenges(pageNum, pageSize) {
  return http({
    url: '/challenge/getList',
    method: 'GET',
    params: {
      pageNum,
      pageSize,
    },
  })
}
